import axios from '@/libs/request'
// ppp项目
export const insert = (data) => {
  return axios.request({
    url: '/api/as/cme2/yqsendinfo/savePppInfo',
    data: data,
    type: 'post'
  })
}
export const update = (data) => {
  return axios.request({
    url: '/api/as/cme2/arearesuwork/update',
    data: data,
    type: 'post'
  })
}
export const deletes = (data) => {
  return axios.request({
    url: '/api/as/cme2/yqsendinfo/deletePppInfo',
    data: data,
    type: 'post'
  })
}
export const findPageList = (pageInfo) => {
  return axios.request({
    url: '/api/as/cme2/yqsendinfo/pppInfoList',
    data: pageInfo,
    type: 'get'
  })
}
export const updateDeptCommitStatus = (data) => {
  return axios.request({
    url: '/api/ac/cme2/areaResuWorkService/updateDeptCommitStatus',
    data: data,
    type: 'post'
  })
}
export const updateDeptRejectStatus = (data) => {
  return axios.request({
    url: '/api/ac/cme2/areaResuWorkService/updateDeptRejectStatus',
    data: data,
    type: 'post'
  })
}
export const findList = (data) => {
  return axios.request({
    url: '/api/as/cme2/arearesuwork/findList',
    data: data,
    type: 'get'
  })
}
export const getById = (data) => {
  return axios.request({
    url: '/api/as/cme2/yqsendinfo/getPppInfo',
    data: data,
    type: 'get'
  })
}
export const updateDeptAuditStatus = (data) => {
  return axios.request({
    url: '/api/ac/cme2/areaResuWorkService/updateDeptAuditStatus',
    data: data,
    type: 'post'
  })
}
export const updateLeaderAuditStatus = (data) => {
  return axios.request({
    url: '/api/ac/cme2/areaResuWorkService/updateLeaderAuditStatus',
    data: data,
    type: 'post'
  })
}
export const getDictInfoList = (data) => {
  return axios.request({
    url: '/api/as/cme2/yqsendinfo/codeList',
    data: data,
    type: 'get'
  })
}
export const getJsdwList = (data) => {
  return axios.request({
    url: '/api/as/cme2/yqsendinfo/jwCodeList',
    data: data,
    type: 'get'
  })
}
